package com.plugin;

import lombok.Getter;

/**
 * 插件事件类，用于通知插件状态变化
 */
@Getter
public class PluginEvent {
    public enum Type {
        INSTALLED, UNINSTALLED, STARTED, STOPPED, DOWNLOADED,LOCAL_FILE_LOADED
    }
    
    private final Plugin plugin;
    private final Type type;
    
    public PluginEvent(Plugin plugin, Type type) {
        this.plugin = plugin;
        this.type = type;
    }

}
